﻿using BootstrapAdmin.DataAccess.Models;

namespace BootstrapAdmin.Web.Core.Services.Production;

public class ArchiveInfoFilter
{
    public string? Station { get; set; }

    public string? SN { get; set; }

    public DateTime? CreatedTimeStart { get; set; }

    public DateTime? CreatedTimeEnd { get; set; }
}

public interface IArchiveInfoService
{
    Task<(List<Archive> items, int count)> GetPagedAsync(ArchiveInfoFilter filter, int pageIndex, int pageItems);

    List<ArchiveItem> GetArchiveItems(int archiveId);
}
